<?php
include "../configuration.php";
function adminlinks(){
        $linkarray = array(
               "Edit Front Page"     => "./editfront.php",
               "Moderate Quotes"    => "./modquotes.php",
               "Delete Quotes"   => "./delquotes.php",
               "Admin User Control"    => "./admuc.php",
               );
			
	foreach($linkarray as $linkname => $linkurl){
    		 echo "<a href=\"$linkurl\"><font color=\"blue\">$linkname</font></a> / ";
	}
}


function startsql(){
	global $sqlserver,$sqluser,$sqlpassword,$sqldb;
	$sendmod = mysql_connect($sqlserver,$sqluser,$sqlpassword) or die("Could Not open connection to the Database");
	mysql_select_db($sqldb);
}

function endsql(){
	global $sendmod;
	mysql_close($sendmod);
}

